package com.hdaccp.letting.dao;

import com.hdaccp.letting.entity.Userinfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserInfoDao {
    public void save(Userinfo userinfo) ;
    public void del(Integer[] ids) ;
    public void update(Userinfo userinfo) ;
    public String getPwdByUserName(String username) ;
    public Userinfo login(@Param("username") String username, @Param("pwd") String pwd) ;
    public List<Userinfo> queryAll() ;
    public long getTotalCount(@Param("username") String username) ;
    public List<Userinfo> query(@Param("username") String username, @Param("offset") int offset, @Param("limit") int limit) ;
}
